[NTG-context] Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread garulfo
nd/ register Command/ rightlabeltext Command/ script Command/ section Command/ seeregister Command/ setupcombinedlist Command/ setupitemgroup Command/ setuplabeltext Command/ setuppairedbox Command/ setupregister Command/ shift Command/ sorting Command/ startattachment Command/ startbackground Command/

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Johann Birnick
t; > > > Why do pass a option for the typing environment to \starttext? > > > > > \definetextbackground[code][background=color, backgroundcolor=lightgray, > > > frame=off, location=paragraph] > > > > > > \setuptyping[before={\startbackground[code]}

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Johann Birnick
gt; > \definetextbackground[code][background=color, backgroundcolor=lightgray, > > frame=off, location=paragraph] > > > > \setuptyping[before={\startbackground[code]}, after={\stopbackground}] > > > > \starttext[option=XML] > > \starttyping > > This is s

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Wolfgang Schuster
=paragraph] \setuptyping[before={\startbackground[code]}, after={\stopbackground}] \starttext[option=XML] \starttyping This is some code a second line \stoptyping \stoptext When I use \definetyping[Mytyping][option=XML] and then use \startMytyping ... \stopMytyping nothing changes

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Aditya Mahajan
; > > > > > \setuptyping > > > >     [before={\blank\starttextbackground[Code]}, > > > >   after={\stoptextbackground\blank}] > > > > > > > > \starttext > > > > > > > > \starttyping > > >

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Johann Birnick
gray, > > >     location=paragraph] > > > > > > \setuptyping > > >     [before={\blank\starttextbackground[Code]}, > > >   after={\stoptextbackground\blank}] > > > > > > \starttext > > > > > > \starttyping >

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Wolfgang Schuster
: \definetextbackground[code][background=color, backgroundcolor=lightgray, frame=off, location=paragraph] \setuptyping[before={\startbackground[code]}, after={\stopbackground}] \starttext \starttyping This is some code a second line \stoptyping \stoptext However, I use pretty printing. When you add [option=XML

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Johann Birnick
e]}, > after={\stoptextbackground\blank}] > > \starttext > > \starttyping > This is some code > a second line > \stoptyping > > \stoptext > > Wolfgang Okay so first sorry that the example missed the \starttext ... \stoptext. Won't happen again. So unfor

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Aditya Mahajan
> \starttextbackground[code] > \starttyping > This is some code > a second line > \stoptyping > \stoptextbackground \definetextbackground[code][background=color, backgroundcolor=lightgray, frame=off, location=paragraph] \setuptyping[before={\startbackground[code]},

[NTG-context] MP background for text typeset by \typefile

2020-11-05 Thread context
Hello, is there a way to draw custom background (via MP) to a text typed by \typefile, which is so long so it spreads over more pages? - I'm asking because I know how to typeset some text via \typefile with: 1. this: \definetyping[Test] [before={\startbackground[background=color

Re: [NTG-context] Strange pagebreaks in LMTX

2019-09-04 Thread Otared Kavian
extbackground[xx] >> \stoptextbackground >> >> can you try to use that instead? less page overflow too >> >> (actually i should iontegrate some title line in that) > A limitation of textbackgrounds is the limited control over the vertical > space at page brea

Re: [NTG-context] Strange pagebreaks in LMTX

2019-09-04 Thread Wolfgang Schuster
but with textbackgrounds you can just control the space at the end and end of the environment. \showframe[text][text] \starttext \dorecurse{3}{\samplefile{knuth}} \startbackground[topoffset=1em,bottomoffset=1em] \dorecurse{2}{\samplefile{knuth}} \stopbackground \dorecurse{2}{\samplefile{knuth}} \page

Re: [NTG-context] t-vim module: math in "normal" code and background color

2017-07-18 Thread Gerion Entrup
ext > > ``` > > Another option will be to use the algorithmic module: > https://bitbucket.org/wolfs/algorithmic/src/ > > > 2. It would be cool, if I can define some background color for the code. > > Unfortunately I'm very new to context and haven't seen a direct option. I >

Re: [NTG-context] t-vim module: math in "normal" code and background color

2017-07-17 Thread Aditya Mahajan
I'm very new to context and haven't seen a direct option. I assume this is possible with some kind of extra environment around the code? You can add \setupbackground[background=color, backgroundcolor=gray] \setupvimtyping[python] [ before={\startbackground}, after

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-07-14 Thread Mathias Schickel
displayed? > > \automigrateinserts > \starttext > \startbackground > This is a test\footnote{Footnote} continue > \stopbackground > \stoptext > > According to node-mig.mkiv, this might cause problems with notes inside > captions. > > Aditya This indeed does th

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-07-12 Thread Aditya Mahajan
On Wed, 12 Jul 2017, Mathias Schickel wrote: Does no-one know what I can do to settle the problem? [...] So what can I do to get the footnotes in a background environment displayed? \automigrateinserts \starttext \startbackground This is a test\footnote{Footnote} continue \stopbackground

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-07-12 Thread Mathias Schickel
]}, after={\blank[5*small]}, topoffset=10pt,    bottomoffset=10pt,    leftoffset=10pt,    rightoffset=10pt]\setupframedtext      [width=\textwidth,       frame=on,       framecolor=black,       rulethickness=1pt,       background="">   backgroundcolor=red,       corner=0,       offset

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-07-08 Thread Mathias Schickel
] % \starttext % \startbackground % If you typeset text with background, the footnote workaround does not work.\postponenotes\footnote{So what could I do to get this footnote displayed?} % \stopbackground \flushnotes % \stoptext Can anyone tell me what I can do

[NTG-context] How to place background text on proper page

2015-11-06 Thread Sytse Knypstra
%\page
 \block % partially on page 2 \startbackground
 \block % only on page 2 if \page is uncommented \stopbackground 
\stoptext Thanks in advance, Sytse Knypstra ___ If your question is of interest to others

Re: [NTG-context] bug in latest beta?

2015-06-01 Thread Otared Kavian
: \defineenumeration[proclaim] [text=, before={\blank\startbackground[frame=off,leftframe=on, rulethickness=2pt,framecolor=darkred, background=color, backgroundcolor=screen]}, after

Re: [NTG-context] Unable to resave float

2015-04-25 Thread Hans Hagen
On 4/24/2015 4:22 PM, Aditya Mahajan wrote: I have a complex document, where I use \startbackground \startplacefigure[location={always,none}] ... \stopplacefigure ... \stopbackground (This is for exam solutions and the background is supposed to be a frame around the solution; the figure

[NTG-context] Unable to resave float

2015-04-24 Thread Aditya Mahajan
I have a complex document, where I use \startbackground \startplacefigure[location={always,none}] ... \stopplacefigure ... \stopbackground (This is for exam solutions and the background is supposed to be a frame around the solution; the figure is a figure included in the solution

[NTG-context] \starttextbackground and \startbackground equivalent options

2014-05-25 Thread Xan
Hi folks, Just a question: I have this textbackground environment: \definestartstop [teoria] [ before={\startbackground[background=color, backgroundcolor=mteoria, frame=on, width=broad, after={\bigskip}, before={\blank[big]\testpage[2]}, backgroundcorner=round, backgroundradius=5ex

[NTG-context] startbackground with footnotes cause problems

2014-05-25 Thread Xan
Hi, I observe that if startbackground stopbackground has footnotes inside, then page breaks are placed before and after footnotes with blank pages... Anyone does know anything about that? Thanks ___ If your

Re: [NTG-context] \startbackground with footnote

2014-05-23 Thread Xan
Thanks Aditya. What's the difference between startbackground and starttextbackground? I can't see the options of textbackground. Thanks, ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] \startbackground with footnote

2014-05-23 Thread Xan
Sorry, I mean Wolfgang not Aditya ;-) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage :

[NTG-context] \startbackground with footnote

2014-05-22 Thread Xan
Hi, I have a footnote in \startbackground \stopbackground environment and the footnote is not displayed. Can anyone give me any hint? thanks in advance, Xan ___ If your question is of interest to others as well

Re: [NTG-context] \startbackground with footnote

2014-05-22 Thread Wolfgang Schuster
Am 22.05.2014 um 14:25 schrieb Xan dxpubl...@telefonica.net: Hi, I have a footnote in \startbackground \stopbackground environment and the footnote is not displayed. Can anyone give me any hint? Add the command \automigrateinserts before \starttext. Wolfgang

Re: [NTG-context] text with background does not break properly around float

2014-05-06 Thread Thomas Möbius
on the same page. How to work around it? ---minimal example--- \starttext \chapter {Bsaoteh} \defineenumeration [excursion] [text=Excursion, listtext={Excursion~}, counter=theorem, before={\blank\startbackground}, after={\stopbackground\blank}] \input knuth \input

[NTG-context] text with background does not break properly around float

2014-04-30 Thread Thomas Möbius
~}, counter=theorem, before={\blank\startbackground}, after={\stopbackground\blank}] \input knuth \input knuth \input knuth \placetable [here] [tab:bala] {Blaoesunthaoeusatoheu saohusaoteh asotehu asoehu aseohu}{ \bTABLE \setupTABLE[frame=off] \setupTABLE[r][first][topframe

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Otared Kavian
[MyExoNumber][way=bysection,sectionumber=yes] \setuptextrules[rulecolor=darkred] \define\ExoCommand{\incrementnumber[MyExoNumber] \textrule[top]{Exercise \getnumber[MyExoNumber]} \startbackground[frame=off,leftframe=on,backgroundcolor=white, framecolor=darkred

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Jaroslav Hajtmar
\definenumber[MyExoNumber][way=bysection,sectionumber=yes] \setuptextrules[rulecolor=darkred] \define\ExoCommand{\incrementnumber[MyExoNumber] \textrule[top]{Exercise \getnumber[MyExoNumber]} \startbackground[frame=off,leftframe=on,backgroundcolor=white, framecolor=darkred

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Otared Kavian
=bysection,sectionumber=yes] \setuptextrules[rulecolor=darkred] \define\ExoCommand{\incrementnumber[MyExoNumber] \textrule[top]{Exercise \getnumber[MyExoNumber]} \startbackground[frame=off,leftframe=on,backgroundcolor=white, framecolor=darkred]} \defineenumeration[exo

[NTG-context] Undefined \continueifinputfile on presentation

2013-08-13 Thread Pau
=0.25cm, % leftoffset=0.25cm,rightoffset=0.25cm,before={\blank[big]}] % \startbackground\switchtobodyfont[18pt]}, % after=\stopbackground] % % \definestartstop

Re: [NTG-context] Math Overruns Background

2012-10-26 Thread Aditya Mahajan
, the math overruns its lower bound. How can I get everything to stay inside the background? A minimal example: \starttext \input knuth \startbackground \input knuth \dorecurse{20}{\startformula \sum_{i=0}^5 i \stopformula} \stopbackground \stoptext I've tried some of the options

[NTG-context] Math Overruns Background

2012-10-25 Thread Nicholas Ulle
get everything to stay inside the background? A minimal example: \starttext \input knuth \startbackground \input knuth \dorecurse{20}{\startformula \sum_{i=0}^5 i \stopformula} \stopbackground \stoptext I've tried some of the options in \setupbackground with no luck, and have also tried

Re: [NTG-context] Left margin of vim module output

2012-08-01 Thread Aditya Mahajan
or \definevimtyping. (I haven't tested it too much, hence no new release at the moment). Note that this works differently from \definetyping. The typing environment honors the leftskip set by its parent environment (for example, if typing is inside startbackground); vimtyping environment resets all

Re: [NTG-context] Left margin of vim module output

2012-08-01 Thread Marco Patzer
. Note that this works differently from \definetyping. The typing environment honors the leftskip set by its parent environment (for example, if typing is inside startbackground); vimtyping environment resets all the settings of its parent environment. That's why the hacks that I tried before all

Re: [NTG-context] Simple backgrounds not working

2012-05-26 Thread Wolfgang Schuster
Am 26.05.2012 um 04:57 schrieb Aditya Mahajan: Hi, Simple backgrounds are not working with the latest beta. The following has no background color. \setupbackground [background=color, backgroundcolor=red] \starttext \startbackground ABC \stopbackground \stoptext Name clash

Re: [NTG-context] Simple backgrounds not working

2012-05-26 Thread Hans Hagen
On 26-5-2012 10:56, Wolfgang Schuster wrote: Am 26.05.2012 um 04:57 schrieb Aditya Mahajan: Hi, Simple backgrounds are not working with the latest beta. The following has no background color. \setupbackground [background=color, backgroundcolor=red] \starttext \startbackground ABC

[NTG-context] Simple backgrounds not working

2012-05-25 Thread Aditya Mahajan
Hi, Simple backgrounds are not working with the latest beta. The following has no background color. \setupbackground [background=color, backgroundcolor=red] \starttext \startbackground ABC \stopbackground \stoptext Aditya

[NTG-context] \startitemize[columns] broken with backgrounds?

2012-01-22 Thread Otared Kavian
=darkred] \define\ExoCommand{\incrementnumber[MyExoNumber] \textrule[top]{Exercise \getnumber[MyExoNumber]} \startbackground[frame=off,leftframe=on, framecolor=darkred]} \defineenumeration[exo] [location=hanging, width=fit, text

Re: [NTG-context] Broken textbackground

2011-12-19 Thread Otared Kavian
Hi Hans, If this can be of any help for you to localize the origin of the bug with the latest beta (ConTeXt ver: 2011.12.18 15:57 MKIV), I would like to report that when a \framedtext is used by its own, the result is as expected, while when it follows \startbackground …. \stopbackground

Re: [NTG-context] Broken textbackground

2011-12-19 Thread Hans Hagen
it follows \startbackground …. \stopbackground, no \framedtext appears (thee rsult is the same when \framedtext is before textbackground). The example is: \starttext \definetextbackground[test][backgroundcolor=lightgray] \starttextbackground[test] \input ward \input ward \stoptextbackground

Re: [NTG-context] Text in a box now broken

2011-11-23 Thread Kip Warner
, corner=round, topoffset=0.5cm, leftoffset=0.5cm, rightoffset=0.5cm, bottomoffset=0.5cm] \startbackground }, after={ \stopbackground \crlf

Re: [NTG-context] Text in a box now broken

2011-11-23 Thread Hans Hagen
, after=\blank, corner=round, topoffset=0.5cm, leftoffset=0.5cm, rightoffset=0.5cm, bottomoffset=0.5cm] \startbackground }, after

[NTG-context] Text in a box now broken

2011-11-21 Thread Kip Warner
, topoffset=0.5cm, leftoffset=0.5cm, rightoffset=0.5cm, bottomoffset=0.5cm] \startbackground }, after={ \stopbackground \crlf }, commands={\setupalign[yes]}, style

[NTG-context] Footnote Problem

2011-11-14 Thread Kip Warner
] \startbackground }, after={ \stopbackground \crlf }, commands={\setupalign[yes]}, style=italic] \starttext First footnote.\footnote{This one works.} \startSomeDocument Second footnote.\footnote{This one doesn't.} \stopSomeDocument \stoptext

Re: [NTG-context] Fatal error

2011-11-04 Thread Wolfgang Schuster
something better next time. What you defined was the following piece of code: \crlf \setupbackground[..,.=.,..] \startbackground \startlines[style=type] \setupalign[right] \starttyping … \stoptyping \stoplines \stopbackground \crlf 1. You used \crlf to add a empty line at the begin and end

Re: [NTG-context] Fatal error

2011-11-04 Thread Kip Warner
but I’m going to explain what was wrong, this will help you write something better next time. What you defined was the following piece of code: \crlf \setupbackground[..,.=.,..] \startbackground \startlines[style=type] \setupalign[right] \starttyping … \stoptyping \stoplines

[NTG-context] Fatal error

2011-11-02 Thread Kip Warner
, bottomoffset=0.5cm] \startbackground \startlines }, after={ \stoplines \stopbackground \crlf }, commands={\setupalign[right]}, style=type] \starttext Hello World \startCodeExample \starttyping Hello World

Re: [NTG-context] Fatal error

2011-11-02 Thread Wolfgang Schuster
, rightoffset=0.5cm, bottomoffset=0.5cm] \startbackground \startlines }, after={ \stoplines \stopbackground \crlf }, commands={\setupalign[right]}, style=type

Re: [NTG-context] Framed Text Split Over Multiple Pages

2011-10-05 Thread Kip Warner
=0.5cm, rightoffset=0.5cm, bottomoffset=0.5cm] \startbackground }, after={ \stopbackground \crlf }, commands={\setupalign[yes]}, style=italic] -- Kip Warner -- Software Engineer OpenPGP

[NTG-context] Framed Text Split Over Multiple Pages

2011-10-04 Thread Kip Warner
, rightoffset=0.5cm, bottomoffset=0.5cm] \startbackground }, after={ \stopbackground \crlf }, commands={\setupalign[yes]}, style=italic] Then used as such: \startSubDocument ... \stopSubDocument -- Kip Warner

Re: [NTG-context] Getting framed text to page break

2011-07-07 Thread Kip Warner
={\setupbackground[frame=on,before=\blank,after=\blank]\startbackground}, after=\stopbackground, %commands={\setupalign[flushleft,broad]}, style=italic] \starttext \input knuth \startSpecialFramed \dorecurse{6}{\input knuth\par} \stopSpecialFramed \input knuth \stoptext

Re: [NTG-context] Getting framed text to page break

2011-07-06 Thread Philipp Gesang
. Example: ···8 \setupbackground[ corner=rectangular, frame=on, background=, ] \starttext \startbackground \dorecurse{42}{\input dawkins \endgraf} \stopbackground \stoptext ···8

Re: [NTG-context] Getting framed text to page break

2011-07-06 Thread Kip Warner
=rectangular, frame=on, background=, ] \starttext \startbackground \dorecurse{42}{\input dawkins \endgraf} \stopbackground \stoptext Hey Phil, I'm not very competent with ConTeXt, but I tried to translate what you and wrote into the following: \def\StartSpecialFramedText

Re: [NTG-context] Getting framed text to page break

2011-07-06 Thread Wolfgang Schuster
Am 07.07.2011 um 03:16 schrieb Kip Warner: I'm not very competent with ConTeXt, but I tried to translate what you and wrote into the following: [...] Solution 1: \definestartstop [SpecialFramed] [ before={\setupbackground[frame=on,before=\blank,after=\blank]\startbackground

Re: [NTG-context] Annotation and background color

2011-05-07 Thread Wolfgang Schuster
,backgroundcolor=gray] \startbackground \textrule{#1}#2\textrule \stopbackground} or \define[2]\MyQuotationCommand {\setupbackground[background=color,backgroundcolor=gray] \textrule{#1}% \startbackground #2% \stopbackground

Re: [NTG-context] Annotation and background color

2011-05-07 Thread Otared Kavian
/environments which have a background, e.g. framed, background or textbaxkground. \define[2]\MyQuotationCommand {\setupbackground[background=color,backgroundcolor=gray] \startbackground \textrule{#1}#2\textrule \stopbackground} or \define[2]\MyQuotationCommand

Re: [NTG-context] background over two page

2010-10-18 Thread Otared Kavian
=on, % suggested by Luigi, in his answer rulethickness=1pt, rightframe=on, width=\textwidth, leftframe=on] \startbackground\unvbox8001\stopbackground% \setupbackground [bottomframe=on, topframe=off, % suggested by Luigi, in his answer rulethickness=1pt, rightframe=on, width=\textwidth, leftframe

Re: [NTG-context] background over two page

2010-10-18 Thread Wolfgang Schuster
highlighted texts…). I guess this is also possible with textbackground: \newcounter\CurrentBackground \def\StartBackground {\doglobal\increment\CurrentBackground \setposition{Background:b:\CurrentBackground}% \startbackground} \def\StopBackground {\stopbackground \setposition{Background:e

Re: [NTG-context] background over two page

2010-10-18 Thread Otared Kavian
it doesn't when it spans over three pages or more, but this is not a real issue, since it is a bad idea to have such long highlighted texts…). I guess this is also possible with textbackground: \newcounter\CurrentBackground \def\StartBackground {\doglobal\increment\CurrentBackground

Re: [NTG-context] background over two page

2010-10-16 Thread Emanuele Sacco
, rightframe=on,width=\textwidth, leftframe=on] \startbackground\unvbox8001\stopbackground% \setupbackground [bottomframe=on, rulethickness=1pt, rightframe=on,width=\textwidth, leftframe=on] \startbackground\unvbox8000\stopbackground% \else \setupbackground [bottomframe=on, rulethickness=1pt

[NTG-context] background over two page

2010-10-14 Thread Emanuele Sacco
Hi all, I'm using context MkII. My code is \setupcolors[state=start] \setupbackground [bottomframe=on, rulethickness=1pt, rightframe=on, leftframe=on] \starttext Good: \startbackground \input knuth \stopbackground Not good: \startbackground \input knuth \input knuth \input knuth

Re: [NTG-context] background over two page

2010-10-14 Thread luigi scarso
On Thu, Oct 14, 2010 at 11:05 AM, Emanuele Sacco emanuelesa...@gmail.com wrote: Hi all, I'm using context MkII. My code is \setupcolors[state=start] \setupbackground [bottomframe=on, rulethickness=1pt, rightframe=on, leftframe=on] \starttext Good: \startbackground \input knuth

Re: [NTG-context] background, mkii vs. mkiv

2010-09-10 Thread Jörg Hagmann
,rightoffset=0.5cm,before={\blank[big]}] \startbackground \startitemize[packed] \item First question \item Second question \item Third question \stopitemize \stopbackground \stoptext -end of first minimal example This works in mk II, but not in mk IV. It seems that start/stopbackground has

Re: [NTG-context] background, mkii vs. mkiv

2010-09-10 Thread Wolfgang Schuster
,topoffset=0.25cm,bottomoffset=0.25cm,leftoffset=0.5cm,rightoffset=0.5cm,before={\blank[big]}] \startbackground \startitemize[packed] \item First question \item Second question \item Third question \stopitemize \stopbackground \stoptext -end of first minimal example This works

Re: [NTG-context] background, mkii vs. mkiv

2010-09-10 Thread Jörg Hagmann
=on,framecorner=round,framecolor=red,rulethickness=2pt,topoffset=0.25cm,bottomoffset=0.25cm,leftoffset=0.5cm,rightoffset=0.5cm,before={\blank[big]}] \startbackground \startitemize[packed] \item First question \item Second question \item Third question \stopitemize \stopbackground \stoptext -end

[NTG-context] Problem With an Enumeration After a Forced Float

2010-01-29 Thread Tad Ashlock
Hi All, Here's a corner case for you: place a figure with the 'force' option, followed by an enumeration with a background. Like this (also attached as tadtest1.tex): \defineenumeration[enum][before={\startbackground},after

Re: [NTG-context] Thoughts on ConTeXt: ditched

2009-12-28 Thread Manuel P.
. \setupcolors[state=start] \setupbackground[background=screen] \setupbackground[state=start] \def\quotebox#1#2 {\blank \midaligned{\startbackground \quotation{\em #1} \crlf --#2 \stopbackground} \blank} - the above \quotebox command, in some cases, sends pdftex

Re: [NTG-context] Thoughts on ConTeXt: ditched

2009-12-28 Thread Khaled Hosny
On Mon, Dec 28, 2009 at 02:44:20PM +0100, Manuel P. wrote: \def\quotebox#1#2 {\blank \midaligned{\startbackground \quotation{\em #1} \crlf --#2 \stopbackground} \blank} - the above \quotebox command, in some cases, sends pdftex and luatex (MKII and MKIV

[NTG-context] Thoughts on ConTeXt: ditched

2009-12-27 Thread Manuel P.
on MKIV. Unlike MKII. - MKIV, unlike MKII, doesn't setup any background color: \setupcolors[state=start] \setupbackground[background=screen] \setupbackground[state=start] \def\quotebox#1#2 {\blank \midaligned{\startbackground \quotation{\em #1} \crlf --#2 \stopbackground

Re: [NTG-context] Thoughts on ConTeXt: ditched

2009-12-27 Thread Wolfgang Schuster
of this was that background=color is no longer supported because you could use backgroundcolor. \setupcolors[state=start] \setupbackground[background=screen] \setupbackground[state=start] \def\quotebox#1#2 {\blank \midaligned{\startbackground \quotation{\em #1} \crlf --#2 \stopbackground

[NTG-context] Strange Behaviour for toc

2009-10-12 Thread Martin Scholz
][before={\setupbackground[style= \tfx,background=color,backgroundcolor=white,frame=on,framecorner=rectangular,framecolor=black,rulethickness=0.5pt,topoffset=0.25cm,bottomoffset=0.25cm,leftoffset=0.25cm,rightoffset=0.25cm,before= {\blank[big]}]\startbackground\switchtobodyfont[10pt]},after

Re: [NTG-context] right/left only background offset?

2009-04-03 Thread Khaled Hosny
, leftoffset=0cm,rightoffset=0cm, backgroundoffset=.5cm,topoffset=-.3cm, % but not here frame=on] \starttext \startbackground \input tufte \stopbackground \vfill \starttextbackground \input tufte \stoptextbackground \stoptext Regards, Khaled -- Khaled Hosny Arabic localiser and member

[NTG-context] \framed (and others) don't honor directional switches

2009-04-03 Thread Khaled Hosny
\stopframedtext \startbackground \input tufte \stopbackground \stoptext Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer signature.asc Description: Digital signature

Re: [NTG-context] \framed (and others) don't honor directional switches

2009-04-03 Thread Hans Hagen
\input tufte \stopframedtext \startbackground \input tufte \stopbackground \stoptext if so then it's a side effect of changesin the engine (changes in rl handling are dangerous because macro packages are internally lr in many aspects (like positioning data relative to other data) and patching each

Re: [NTG-context] \framed (and others) don't honor directional switches

2009-04-03 Thread Khaled Hosny
\input tufte \stopTEXpage \framed{Hello world} \startframedtext \input tufte \stopframedtext \startbackground \input tufte \stopbackground \stoptext if so then it's a side effect of changesin the engine (changes in rl handling are dangerous because macro packages are internally lr in many

Re: [NTG-context] \framed (and others) don't honor directional switches

2009-04-03 Thread Hans Hagen
\startTEXpage \input tufte \stopTEXpage \framed{Hello world} \startframedtext \input tufte \stopframedtext \startbackground \input tufte \stopbackground \stoptext if so then it's a side effect of changesin the engine (changes in rl handling are dangerous because macro packages are internally lr

Re: [NTG-context] \framed (and others) don't honor directional switches

2009-04-03 Thread Hans Hagen
\startTEXpage \input tufte \stopTEXpage \framed{Hello world} \startframedtext \input tufte \stopframedtext \startbackground \input tufte \stopbackground \stoptext if so then it's a side effect of changesin the engine (changes in rl handling are dangerous because macro packages are internally lr

[NTG-context] right/left only background offset?

2009-04-02 Thread Khaled Hosny
=green, frame=on, backgroundoffset=.5cm]%, %leftoffset=0cm,rightoffset=0cm] \starttext \startbackground \input tufte \stopbackground \input tufte \stoptext Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer signature.asc

[NTG-context] Background on paragraphs

2009-01-27 Thread Antoine Cailliau
and we cannot see the text. I attached the PDF file produced. I used texexec : % texexec TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD and the following code : \setupbackground[background=screen,corner=round] \starttext \startbackground Lorem ipsum dolor sit amet, consectetur adipiscing elit

Re: [NTG-context] Background on paragraphs

2009-01-27 Thread Wolfgang Schuster
=round] \starttext \startbackground Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam semper mi pellentesque diam. Vestibulum tellus erat, vestibulum vel, blandit ac, placerat at, metus. Integer rhoncus neque vel dolor. Sed dapibus arcu eu lorem. In eleifend nunc nec justo. Maecenas

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
] \stopalignment # \startarabicpar \stoparabicpar # \startarabictext \stoparabictext # \startappendices \stopappendices \startbackground \stopbackground # \startbackmatter \stopbackmatter # \startbaselinecorrection \stopbaselinecorrection # \startblockquote \stopblockquote # \startbodymatter \stopbodymatter

Re: [NTG-context] breaking framed text across pages

2007-02-24 Thread Hans Hagen
discovered an alternative: \setupbackground[frame=on,rulethickness=0.7pt,corner=round,bodyfont=11pt,width=\textwidth] \startbackground \stopbackground dependin gon usage, this mechanism also provides background behind parts of paragraphs, nested backgrounds, arbitrary mp backgrounds, etc

Re: [NTG-context] breaking framed text across pages

2007-02-23 Thread Mojca Miklavec
=0.7pt,corner=round,bodyfont=11pt,width=\textwidth] \startbackground ... \stopbackground The only little problem is that background doesn't support \definebackground yet, so you should either help yourself with something similar to what I did: \def\starthomework{\dosingleempty\dostarthomework} \long

Re: [NTG-context] rotate a TABLE

2007-01-14 Thread Gerhard Kugler
(vertically) a line before the table and ends a line before the end of the table. \startbackground \rotate[rotation=270]{ \setupTABLE[width=\textheight, height=\textwidth] \setupTABLE[r][each][height=0.13\textwidth] \setupTABLE[r][1,2][align=lohi, height=0.06\textwidth] \setupTABLE[c][1,2,3,4][width=0.15

Re: [NTG-context] rotate a TABLE

2007-01-14 Thread Mojca Miklavec
the background, but shifted. It begins (vertically) a line before the table and ends a line before the end of the table. \startbackground \rotate[rotation=270]{ It helps if you place a '%' at the end, so \rotate[rotation=270]{% and similar to the rest of lines which don't end with a command

Re: [NTG-context] rotate a TABLE

2007-01-14 Thread Peter Rolf
the background, but shifted. It begins (vertically) a line before the table and ends a line before the end of the table. \startbackground \rotate[rotation=270]{ \setupTABLE[width=\textheight, height=\textwidth] \setupTABLE[r][each][height=0.13\textwidth] \setupTABLE[r][1,2][align=lohi, height=0.06

Re: [NTG-context] rotate a TABLE

2007-01-14 Thread Hans Hagen
a colored background (grey). I get the background, but shifted. It begins (vertically) a line before the table and ends a line before the end of the table. \startbackground \rotate[rotation=270]{ It helps if you place a '%' at the end, so \rotate[rotation=270]{% and similar to the rest

Re: [NTG-context] Problems with columnsets and \startbackground \stopbackground

2006-07-02 Thread Taco Hoekwater
Olaf Mersmann wrote: Hi list, The second \subject{} causes a page break instead of wrapping into the second column. Is this a bug, or am I missing something when using \start- / \stopbackground? It is probably a bug, but it is not likely that it will get fixed soon. \startbackground

Re: [NTG-context] Page breaking problem

2006-06-20 Thread Hans Hagen
occurs on because of \startbackground, best use textbackgrounds Hi Hans, since textbackground seems now the default background feature to use, do you plan to fix the textbackground overlapping trouble i submitted some time ago? remind me what it was ... Hans

Re: [NTG-context] Page breaking problem

2006-06-19 Thread nico
of \startbackground, best use textbackgrounds Hi Hans, since textbackground seems now the default background feature to use, do you plan to fix the textbackground overlapping trouble i submitted some time ago? Regards, BG ___ ntg-context mailing list ntg

[NTG-context] Background placement

2006-05-22 Thread nico
] [bodyfont=small, before={\startbackground}, after={\stopbackground}] \starttext \input tufte \input tufte \input tufte \input tufte \input tufte \section{joke} Here is an example: \startprogramlisting Some code \stopprogramlisting And the text continues

[NTG-context] Weird texexec hang

2006-05-19 Thread nico
\definetyping[code] \setuptyping[code] [bodyfont=small, before={\startbackground}, after={\stopbackground}] \starttext \input tufte \input tufte \placedbsidebar{joke} {\startframesidebar \startcode some code \stopcode \stopframesidebar} \input tufte \input

Re: [NTG-context] Weird texexec hang

2006-05-19 Thread Hans Hagen
] % Verbatim environment for programlisting \definetyping[code] \setuptyping[code] [bodyfont=small, before={\startbackground}, after={\stopbackground}] \starttext \input tufte \input tufte \placedbsidebar{joke} {\startframesidebar \startcode

Re: [NTG-context] Curious blank page

2006-04-12 Thread Taco Hoekwater
Aditya Mahajan wrote: framedtext does not break across pages :( Can startbackground be persuaded to become sane? We already have a feature request to make startextbackground do everything startbackground can do. After that, startbackground can be flagged a deprecated command. Cheers

Re: [NTG-context] Curious blank page

2006-04-12 Thread Aditya Mahajan
for not running into that bug) ; the pagebreak is just the result of background going crazy (well, not being able to determine if there is enough space left) framedtext does not break across pages :( Can startbackground be persuaded to become sane? not today, best try \definetextbackground

Re: [NTG-context] Curious blank page

2006-04-11 Thread Aditya Mahajan
the result of background going crazy (well, not being able to determine if there is enough space left) framedtext does not break across pages :( Can startbackground be persuaded to become sane? Thanks, Aditya -- Aditya Mahajan, EECS Systems, University of Michigan http://www.eecs.umich.edu

  1   2   >